package com.example.start

import androidx.lifecycle.SavedStateHandle
import com.example.library_base.base.BaseViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class SplashViewModel @Inject constructor(
    private val savedStateHandle: SavedStateHandle
): BaseViewModel<SplashModel>(){

    fun updateDate(){
        val splashModel = SplashModel()
        splashModel.splash = "跟新数据"
        setModelLiveData(splashModel)
    }
}